00001 // Emacs Mode Line: -*- Mode:c++;-*- 00002 // ------------------------------------------------------------- 00003 /* 00004 * Copyright (c) 2013 Battelle Memorial Institute 00005 * Licensed under modified BSD License. A copy of this license can be found 00006 * in the LICENSE file in the top level directory of this distribution. 00007 */ 00008 // ------------------------------------------------------------- 00009 /** 00010 * @file math.hpp 00011 * @author William A. Perkins 00012 * @date 2014-11-26 11:23:33 d3g096 00013 * 00014 * @brief 00015 * 00016 * 00017 */ 00018 // ------------------------------------------------------------- 00019 #ifndef _math_hpp_ 00020 #define _math_hpp_ 00021 00022 #include <gridpack/math/nonlinear_solver.hpp> 00023 #include <gridpack/math/newton_raphson_solver.hpp> 00024 #include <gridpack/math/linear_solver.hpp> 00025 #include <gridpack/math/linear_matrix_solver.hpp> 00026 00027 namespace gridpack { 00028 namespace math { 00029 00030 // Do whatever is necessary to initialize the math library 00031 extern void Initialize(int*,char***); 00032 00033 /// Is the math library initialized? 00034 extern bool Initialized(void); 00035 00036 /// Do whatever is necessary to shut down the math library 00037 extern void Finalize(void); 00038 00039 } // namespace math 00040 } // namespace gridpack 00041 00042 00043 #endif